import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import 'vant/es/toast/style'
// import 'vant/es/dialog/style';
import piniaPersist from 'pinia-plugin-persist'

import { Button, Tab, Tabs, List, Swipe, SwipeItem, ImagePreview, showImagePreview, ActionSheet,Lazyload ,Loading ,ContactCard,Popup,Cell,Area,Switch ,Uploader,Toast } from 'vant'

const app = createApp();
app.use(Button).use(Tab).use(Tabs).use(List).use(Swipe).use(SwipeItem).use(ImagePreview).use(showImagePreview).use(ActionSheet).use(Lazyload,{lazyComponent: true,}).use(Loading).use(ContactCard).use(Popup).use(Cell).use(Area).use(Switch).use(Uploader).use(Toast);

// app.use(Button).use(Tab).use(Tabs).use(List).use(Swipe).use(SwipeItem).use(ImagePreview).use(showImagePreview).use(ActionSheet).use(Lazyload, { lazyComponent: true, }).use(Loading).use(ContactCard).use(Popup).use(Cell).use(Area).use(Switch);


createApp(App).use(createPinia().use(piniaPersist)).use(router).mount('#app')
// createApp(App).use(createPinia()).use(router).mount('#app')

import "./assets/font_gu/iconfont.css";
import "../node_modules/swiper/swiper-bundle.min.css";
import "./assets/font_gu/iconfont.css"
import "./assets/font_L/iconfont.css"
import "./assets/font_coo/iconfont.css"

// 引入不变
